/**
 * 作者：陈文斌 on 2019/1/4.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';

part 'crm_user_info_model.g.dart';

@JsonSerializable()
class CrmUserInfoModel extends Object with _$CrmUserInfoModelSerializerMixin{
  String Id;
  String AppId;
  String UserName;
  String NickName;
  String RealName;
  String Gender;
  String PortraitUrl;
  String VisualizationImgUrl;
  String Email;
  String EmailImgEncodeData;
  bool EmailConfirmed;
  String PhoneRegionCode;
  String PhoneNumber;
  String PhoneNumberImgEncodedData;
  bool PhoneNumberConfirmed;
  String Birthday;
  String LastLoginDeviceCode;
  String UseLang;
  String ResidentCountry;
  String ResidentProvince;
  String ResidentCity;
  String ResidentArea;
  String HometownCountry;
  String HometownProvince;
  String HometownCity;
  String HometownArea;
  String Address;

  CrmUserInfoModel(
      this.Id,
      this.AppId,
      this.UserName,
      this.NickName,
      this.RealName,
      this.Gender,
      this.PortraitUrl,
      this.VisualizationImgUrl,
      this.Email,
      this.EmailImgEncodeData,
      this.EmailConfirmed,
      this.PhoneRegionCode,
      this.PhoneNumber,
      this.PhoneNumberImgEncodedData,
      this.PhoneNumberConfirmed,
      this.Birthday,
      this.LastLoginDeviceCode,
      this.UseLang,
      this.ResidentCountry,
      this.ResidentProvince,
      this.ResidentCity,
      this.ResidentArea,
      this.HometownCountry,
      this.HometownProvince,
      this.HometownCity,
      this.HometownArea,
      this.Address);

  @override
  factory CrmUserInfoModel.fromJson(Map<String, dynamic> json) => _$CrmUserInfoModelFromJson(json);
}
